package com.bean;

import java.util.Date;

public class Studentwork {
    private int tid;
    private int uid;
    private String uclass;
    private Date date;
    private int workflag;

    private Date MONTH;



    public Date getMONTH() {
        return MONTH;
    }

    public void setMONTH(Date MONTH) {
        this.MONTH = MONTH;
    }

    public Studentwork(Date MONTH) {
        this.MONTH = MONTH;
    }




    public int getTid() {
        return tid;
    }

    public void setTid(int tid) {
        this.tid = tid;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getUclass() {
        return uclass;
    }

    public void setUclass(String uclass) {
        this.uclass = uclass;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public int getWorkflag() {
        return workflag;
    }

    public void setWorkflag(int workflag) {
        this.workflag = workflag;
    }

    @Override
    public String toString() {
        return "Studentwork{" +
                "tid=" + tid +
                ", uid=" + uid +
                ", uclass='" + uclass + '\'' +
                ", date=" + date +
                ", workflag=" + workflag +
                '}';
    }

    private int year;
    private int month;
    private int day;

    public Studentwork() {
    }

    public Studentwork(int year, int month, int day) {
        this.year = year;
        this.month = month;
        this.day = day;
    }

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public int getMonth() {
        return month;
    }

    public void setMonth(int month) {
        this.month = month;
    }

    public int getDay() {
        return day;
    }

    public void setDay(int day) {
        this.day = day;
    }
}
